package com.itetchologyandenglish.home.service.Impl;

import com.itetchologyandenglish.home.enetity.Logistics;
import com.itetchologyandenglish.home.mapper.LogisticsMapper;
import com.itetchologyandenglish.home.service.LogisticsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class LogisticsServiceImpl implements LogisticsService {
    @Resource
    LogisticsMapper logisticsMapper;
    @Override
    public boolean updateflow(Logistics logistics) {
        return logisticsMapper.updateflow(logistics) > 0?true:false;
    }

    @Override
    public Logistics mflowByModuleId(Integer id) {
        return logisticsMapper.mflowByModuleId(id);
    }
}
